import { vnode } from "types"
import { mountComponent } from "./mount"
import { patchComponent } from "./patch"

export function processComponent(n1:vnode|null, n2:vnode) {
  if(n1 == null) {
    mountComponent()
  } else {
    patchComponent()

  }
}
